package cn.yanji.service;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;

import java.io.FileNotFoundException;

/**
 * @author yanji w2c17lin@qq.com
 * @since 2018/11/7 上午 09:16
 */
public interface ExecuteService {

	String GIF_PATH = "D://quanan/gif/";
	String EXCEL_PATH = "D://quanan/";

	String DOMAIN = "http://ydt.hzqatc.com";
	String HOME = "/qaydt/wx/exam/index_new.aspx";
	String PRE_HOME = "/QAydt/Wx/OnlyMobile.html";

	String SESSION_KEY = "ASP.NET_SessionId";
	String SESSION_VALUE = "3pjxmuuue3rpptbwh0zuj5c1";
	String SESSION_DOMAIN = ".ydt.hzqatc.com";

	WebDriver webDriver();

	WebElement element(String id);

	void click(String id);

	void go(String url);

	void back();

	void quit();

	void exec() throws FileNotFoundException;

	void exec(String subject, String type) throws FileNotFoundException;
}
